package com.keyingbo.leran.pattern.factorypattern.absfactory;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        CatFactory  factory1 = new BaseCatFactory();
        CatFactory  factory2 = new CanFlyCatFactory();

        factory1.createAodi().drive();
        factory2.createAodi().drive();
    }
}
